import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

// import { useUserStore } from './user'
// export { useUserStore }
// 其实这两个动作, 先引入再导出, 可以简化为下面一行代码即可
export * from './modules/user'
export * from './modules/consult'
